package com.cans.model.file;

import com.cans.model.BaseModel;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author: cans
 * @date: 2018/6/4
 * @description: 文件
 */
@Entity
@Table(name = "file_detail")
public class FileDetail extends BaseModel {

    /**
     * 文件名
     */
    @Column(name = "file_name",length = 80)
    private String fileName;
    /**
     * 文件类型
     */
    @Column(name = "file_type",length = 50)
    private String fileType;
    /**
     * 文件路劲
     */
    @Column(name = "url")
    private String url;
    /**
     * 上传人员ID
     */
    @Column(name = "upload_user_id",length = 32)
    private String uploadUserId;


    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getUploadUserId() {
        return uploadUserId;
    }

    public void setUploadUserId(String uploadUserId) {
        this.uploadUserId = uploadUserId;
    }
}
